package PTA.ch05;

import java.util.Scanner;

public class ex05 {
    public static void main(String[] args) {
        Scanner sc = new Scanner(System.in);
        while(sc.hasNext()){
            try{
                int a=sc.nextInt();
                int b=sc.nextInt();
                System.out.println("sum = "+(a+b));
            }catch(Exception e){
                System.out.println("Incorrect input: two integer is required");
sc.nextLine();
            }
        }
    }
}
